package tmproject.hlhj.fhp.cartrans.adapter

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.BaseViewHolder
import tmproject.hlhj.fhp.cartrans.R
import tmproject.hlhj.fhp.cartrans.javaBean.CarNumBean

/**
 * Created by Administrator on 2018/8/28/028.
 */
class ChooseNumAdp(private val datas:ArrayList<CarNumBean.DataBean>)
    :BaseQuickAdapter<CarNumBean.DataBean,BaseViewHolder>(R.layout.choose_num_item,datas) {
    override fun convert(helper: BaseViewHolder?, item: CarNumBean.DataBean?) {
        helper?.setText(R.id.itemNum,item?.tractor_no)
    }
}